package com.xiaoyung.easyisapisdk.common.workflow.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
public class ProcdefEntity{

	//@ApiModelProperty(value = "流程定义id")
	private String id;
	
	//@ApiModelProperty(value = "流程定义名")
	private String name;
	
	//@ApiModelProperty(value = "流程定义分类")
	private String category;
	
	//@ApiModelProperty(value = "流程定义key")
	private String key;
	
	//@ApiModelProperty(value = "流程定义版本")
	private String version;
	
	//@ApiModelProperty(value = "部署id")
	private String deploymentId;
	
	private String resourceName;

	private String dgrmResourceName;
	
	private String hasStartFormKey;
	
	private String hasGraphicalNotation;
	
	//@ApiModelProperty(value = "状态(1启用,2禁用)")
	private String suspensionState;
	
	//@ApiModelProperty(value = "部署时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date deployTime;
	
	private String rev;

	public String getText() {
		return this.name + "-" + this.key + "-" + this.version;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDeploymentId() {
		return deploymentId;
	}

	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getDgrmResourceName() {
		return dgrmResourceName;
	}

	public void setDgrmResourceName(String dgrmResourceName) {
		this.dgrmResourceName = dgrmResourceName;
	}

	public String getHasStartFormKey() {
		return hasStartFormKey;
	}

	public void setHasStartFormKey(String hasStartFormKey) {
		this.hasStartFormKey = hasStartFormKey;
	}

	public String getHasGraphicalNotation() {
		return hasGraphicalNotation;
	}

	public void setHasGraphicalNotation(String hasGraphicalNotation) {
		this.hasGraphicalNotation = hasGraphicalNotation;
	}

	public String getSuspensionState() {
		return suspensionState;
	}

	public void setSuspensionState(String suspensionState) {
		this.suspensionState = suspensionState;
	}

	public Date getDeployTime() {
		return deployTime;
	}

	public void setDeployTime(Date deployTime) {
		this.deployTime = deployTime;
	}

	public String getRev() {
		return rev;
	}

	public void setRev(String rev) {
		this.rev = rev;
	}


}
